package com.zf.wms.nservice.client.hystrix;

import com.zf.wms.nservice.client.PurviewClient;
import com.zf.wms.nservice.utils.ResultMap;
import org.springframework.stereotype.Component;

/**
 * Author：sl
 * Date：2019-11-05 10:52
 * Description：<描述>
 */
@Component
public class PurviewClientHystrix implements PurviewClient {


    @Override
    public ResultMap getAllPurviewList() {
        return ResultMap.error("服务器异常，请稍后重试");
    }

    @Override
    public ResultMap setRolePurview(Integer roleId, String ids) {
        return ResultMap.error("服务器异常，请稍后重试");
    }
}
